package com.wanxi.branch;

import java.util.Scanner;

public class Switch {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入数字");
        int mark = scanner.nextInt();
        switch (mark) {
            case 90:
                System.out.println("得到90块");
                break;
            case 80:
                System.out.println("得到80块");
                break;
            case 70:
                System.out.println("得到70块");
                break;
            case 60:
                System.out.println("得到60块");
                break;
            default:
                System.out.println("什么都没有");
                break;
        }
        System.out.println("结束");
    }
}
